<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<meta name="description" content=""/>
	<meta name="keywords" content=""/>
	<title>窝巢网 - 系统后台<?php if(isset($title)) echo " - $title"?></title>	
	<link type="text/css" rel="stylesheet" href="<?php echo base_url();?>css/manager/base.css" />
	<link type="text/css" rel="stylesheet" href="<?php echo base_url();?>css/manager/index.css" />
	<link type="text/css" rel="stylesheet" href="<?php echo base_url();?>js/plug/form/css/form.1.1.css" />
	<link type="text/css" rel="stylesheet" href="<?php echo base_url();?>js/plug/messagebox/css/messagebox.css" />
	<!--[if IE 6]>
	<link type="text/css" rel="stylesheet" href="<?php echo base_url();?>js/plug/messagebox/css/ie6_png.css" />
	<![endif]-->
	<link type="text/css" rel="stylesheet" href="<?php echo base_url();?>js/plug/colorbox/5/colorbox.css" />
	<?php 
	if (isset($csses))
		foreach ($csses as $item) {
			echo '<link type="text/css" rel="stylesheet" href="'.base_url().$item.'"/>';
		}
	?>
	<script type="text/javascript" src="<?php echo base_url();?>js/jquery-1.4.4.js"></script>
	<script type="text/javascript" src="<?php echo base_url();?>js/plugor.js"></script>
	<script type="text/javascript" src="<?php echo base_url();?>js/tool.js"></script>
	<script type="text/javascript" src="<?php echo base_url();?>js/init.js"></script>
	<script type="text/javascript" src="<?php echo base_url();?>js/plug/colorbox/jquery.colorbox-min.js"></script>
	<script type="text/javascript" src="<?php echo base_url();?>js/plug/messagebox/js/messagebox.js"></script>
	<script type="text/javascript" src="<?php echo base_url();?>js/plug/form/form.1.2.1.js"></script>
	<?php 
	if (isset($jses))
		foreach ($jses as $item) {
			echo '<script type="text/javascript" src="'.base_url().$item.'"></script>';
		}
	?>
	<script>
		var root = "<?php echo site_url('manager/')?>";
		$(function($){
			$('.fold-handle').toggle(
				function () {
			    $('#content').addClass('side-fold');
			  },
			  function () {
			    $('#content').removeClass('side-fold');
			  }
			);
			
			$('.nav-list a.icon').toggle(
				function () {			    
			    $ul = $(this).next('ul');
			    if($ul.find('a.cur')[0]){
			    	$(this).addClass('icon-close cur');
			    }else{
			    	$(this).addClass('icon-close');	
			    }
			    $ul.hide();
			  },
			  function () {
			    $(this).removeClass('icon-close cur');
			    $(this).next('ul').show();
			  }
			);
			
			$('.nav-list a:not(.icon)').click(function(){
				$('.nav-list a.cur').removeClass('cur');
				$(this).addClass('cur');
			});
		});
	</script>
</head>
<body>
	<div id="header">
		<h1 class="logo">
			<a href="#"><img src=""/></a>
			<a href="#" style="color: red; font-size: 12px; font-weight: normal; position: relative; top: -24px;">[返回旧版]</a>
			<b class="sub-logo"><img src=""/></b>
		</h1>
		<div class="login">欢迎您！<a href="#"> 约漫旗舰店</a> [<a href="<?php echo site_url('login/logout');?>">退出</a>]</div>			
		<div class="site-nav">
			<ul class="quick-menu">
				<li class="index"><a href="#"><i class="icon"></i><b class="arrow"></b>首页</a></li>
				<li class="product"><a href="#" target="_blank"><i class="icon"></i><b class="arrow"></b>产品介绍</a></li>
				<li class="mymm"><a href="#"><i class="icon"></i><b class="arrow"></b>我的联盟</a></li>
				<li class="message"><a href="#"><i class="icon"></i><b class="arrow"></b>消息中心</a><b class="num"><b>10</b></b></li>
				<li class="community"><a href="#" target="_blank"><b class="arrow"></b>联盟社区</a></li>
				<li class="bm"><a href="#" target="_blank"><b class="arrow"></b>广告牌DIY</a></li>
				<li class="help"><a href="#" target="_blank"><b class="arrow"></b>帮助中心</a></li>
			</ul>
		</div>
	</div>
	<div id="mainNav">
		<ul> 
			<li class="<?php if($menu == 'index') echo 'cur';?>"><a href="<?php echo site_url('manager/main/');?>">首页</a></li> 
			<li class="<?php if($menu == 'module') echo 'cur';?>"><a href="<?php echo site_url('manager/main/index/module');?>">模块管理</a></li>
			<li class="<?php if($menu == 'member') echo 'cur';?>"><a href="#">会员管理</a></li>
			<li class="<?php if($menu == 'ads') echo 'cur';?>"><a href="#">广告管理</a></li>
			<li class="<?php if($menu == 'analysis') echo 'cur';?>"><a href="#">统计管理</a></li>
			<li class="<?php if($menu == 'acl') echo 'cur';?>"><a href="<?php echo site_url('manager/main/index/acl');?>">权限管理</a></li>
		</ul>
	</div>
	<div id="content">
		<div class="col-main">
			<div class="main-wrap">